configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available

Commit 195c2ef8 added this to the Meson
build but neglected to add it to autotools.

v2: Also update dix-config.h.in

Fixes: 195c2ef8 ("glamor: Add a function to get the driver name via EGL_MESA_query_driver")

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> [v1]
Reviewed-by: Eric Engestrom <eric@engestrom.ch> [v1]
Reviewed-by: Matt Turner <mattst88@gmail.com>
3 jobs for autoconf-query-driver in 7 minutes and 27 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #1358108
debian-testing

00:00:22

 
  Build And Test
passed #1358109
autotools-build-and-test

00:07:04

passed #1358110
meson-build-and-test

00:03:09