libinput: Follow event struct collapse API changes

It was changed so that each event class has its own event struct, i.e.
all pointer events use the libinput_event_pointer struct, touch events
use libinput_event_touch etc.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>