GLX: Remove the XESetCloseDisplay callback during teardown.

When is unloaded, call XESetCloseDisplay to remove the display close
callback for any displays that still exist.

Otherwise, if is loaded using dlopen, and then unloaded while a
display is still open, then XCloseDisplay would try to call the (now dangling)
12 jobs for libglx-cleanup-display-callbacks in 6 minutes (queued for 3 seconds)