Fix for libinput 0.4.0 API changes

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>