configure.ac: Improve the checks for XInput 2.2
configure.ac: Improve the checks for XInput 2.2

Check for the XIScrollClassInfo struct in addition to the existing
check for XIAllowTouchEvents() because Ubuntu Oneiric seems to
have an incomplete backport which has one but not the other.

Based on a patch by Murray Cumming,
https://bugzilla.gnome.org/show_bug.cgi?id=671453

davidt/gtk,davidgumberg/gtk,Sidnioulz/SandboxGtk,grubersjoe/adwaita,Distrotech/gtk2,ebassi/gtk,jessevdk/gtk,davidt/gtk,ahodesuka/gtk,jessevdk/gtk,ahodesuka/gtk,grubersjoe/adwaita,ahodesuka/gtk,jessevdk/gtk,davidt/gtk,Adamovskiy/gtk,ahodesuka/gtk,grubersjoe/adwaita,jigpu/gtk,Sidnioulz/SandboxGtk,msteinert/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,jadahl/gtk,ahodesuka/gtk,Sidnioulz/SandboxGtk,jessevdk/gtk,davidgumberg/gtk,Lyude/gtk-,ebassi/gtk,Adamovskiy/gtk,grubersjoe/adwaita,jigpu/gtk,alexlarsson/gtk,Adamovskiy/gtk,chergert/gtk,Lyude/gtk-,chergert/gtk,jadahl/gtk,jessevdk/gtk,Adamovskiy/gtk,Distrotech/gtk2,Lyude/gtk-,Lyude/gtk-,ebassi/gtk,ahodesuka/gtk,jessevdk/gtk,alexlarsson/gtk,bratsche/gtk-,jadahl/gtk,jigpu/gtk,Sidnioulz/SandboxGtk,jadahl/gtk,Adamovskiy/gtk,Distrotech/gtk2,bratsche/gtk-,grubersjoe/adwaita,jessevdk/gtk,ahodesuka/gtk,jadahl/gtk,Distrotech/gtk2,chergert/gtk,alexlarsson/gtk,alexlarsson/gtk,msteinert/gtk,grubersjoe/adwaita,davidgumberg/gtk,jadahl/gtk,chergert/gtk,msteinert/gtk,bratsche/gtk-,Adamovskiy/gtk,Adamovskiy/gtk,alexlarsson/gtk,Lyude/gtk-,davidt/gtk,grubersjoe/adwaita,alexlarsson/gtk,Lyude/gtk-,davidt/gtk,jigpu/gtk,bratsche/gtk-,grubersjoe/adwaita,davidgumberg/gtk,chergert/gtk,chergert/gtk,davidgumberg/gtk,jadahl/gtk,Distrotech/gtk2,ebassi/gtk,bratsche/gtk-,ebassi/gtk,ebassi/gtk,davidgumberg/gtk,ahodesuka/gtk,chergert/gtk,Lyude/gtk-,bratsche/gtk-,msteinert/gtk,Sidnioulz/SandboxGtk,Distrotech/gtk2,msteinert/gtk,jigpu/gtk,jigpu/gtk,alexlarsson/gtk,jigpu/gtk,alexlarsson/gtk,davidgumberg/gtk,Lyude/gtk-,chergert/gtk,jadahl/gtk,msteinert/gtk,jigpu/gtk,davidt/gtk,davidgumberg/gtk