scanner: parse event type from xml
scanner: parse event type from xml

See https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/82.

Once protocol files are updated, this will remove the need for
workarounds to specify these separately.

vberger/wayland-client-rs,vberger/wayland-client-rs,vberger/wayland-client-rs,vberger/wayland-rs,Smithay/wayland-rs,Smithay/wayland-rs,vberger/wayland-rs