The nonequilibrium mechanism for ultrasensitivity in a biological switch: Sensing by Maxwell's demons