The opening dynamics of the lateral gate regulates the activity of rhomboid proteases