Disordered to ordered folding in the regulation of diphtheria toxin repressor activity