glx: Send DestroyContext protocol at the correct times