Engineering protein assemblies with allosteric control via monomer fold-switching