st/glx: add null ctx check in glXDestroyContext()