build: unify naming for HAVE_* defines

We sometimes used HAS_, sometimes polluted the LIBINPUT_ namespace,
etc.
3 jobs for internal-config in 1 minute and 59 seconds (queued for 1 second)