Dewetting transitions coupled to K-channel activation in cytochrome c oxidase