Full-length structure of a monomeric histidine kinase reveals basis for sensory regulation