gdk/wayland: Handle disorderly tablet/pad disconnects
If the tablet gets removed/freed while there are pad events in flight, we leave a dangling pointer from the pad to the tablet, which may lead to invalid reads/writes when handling the pad event(s).
Fixes: #2748 (closed)