build: check if libinput supports hold gestures
build: check if libinput supports hold gestures

Add a project argument (LIBINPUT_HAS_HOLD_GESTURES) to allow building
against old versions of libinput.

swaywm/wlroots,swaywm/wlroots,SirCmpwn/wlroots