acquire GL context in vdpOutputSurfaceQueryCapabilities
protect some more X calls with GLX context mutex