wayland: Switch to InputDevice enums
There are currently enums that are identical but live in different places, mostly due to the historical reasons.
This change makes the wayland code use the InputDevice enums so they can be forwarded as is without conversion code on the user side. It makes the code cleaner and simpler.