Ligand-induced folding of a receiver domain