glx: Implement GLX_EXT_get_drawable_type

Trivial extension to let the client query whether this is a window
pixmap or pbuffer. Mostly for Mesa's convenience when setting up
drawable state, but plausibly useful for apps and middleware as well.

Upstream OpenGL Registry merge request:

https://github.com/KhronosGroup/OpenGL-Registry/pull/425
4 jobs for glx-ext-get-drawble-type in 5 minutes and 35 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Image
passed #4719443
debian-testing

00:00:36

 
  Build And Test
passed #4719444
autotools

00:04:58

passed #4719445
meson

00:01:38

passed #4719446
meson-noglamor

00:01:51