Structure of SpoT reveals evolutionary tuning of catalysis via conformational constraint