I wonder if something could be adapted like curb feelers which were on large cars in the 50s and 60s
https://en.wikipedia.org/wiki/Curb_feeler
Something sort of springy which sticks out behind the chair a bit, and would make a sound when it started to bend from being too close. Depending on the configuration of the chair it might be difficult to mount something useful.
I have my ventilator hanging from the back of my chair and it will usually touch a wall or something first before the chair itself does. Of course if it's a small table or something, the vent might knock it over anyway.