Sequential conformational transitions and α-helical supercoiling regulate a sensor histidine kinase