Lipid-protein interactions modulate the conformational equilibrium of a potassium channel