Implement M119 (print endstop status).