configure: Build hashtable for Xres and glvnd

With autoconf, hashtable support is built along with Xres support.

Yet, glvnd also use it, so when disabling Xres from configure, the
build will fail at link time because hashtable functions are not
available.

Untie the build of hashtable from Xres support, just like meson build
does.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Closes: xorg/xserver#1091
4 jobs for issue1091 in 4 minutes and 25 seconds (queued for 1 second)
Status Job ID Name Coverage
  Docker Image
passed #5470006
debian-testing

00:00:23

 
  Build And Test
passed #5470007
autotools

00:04:01

passed #5470008
meson

00:01:01

passed #5470009
meson-noglamor

00:00:45