Detecting destabilizing wheelchair conditions for maintaining seated posture