xwayland: Fix LeaveNotify for relative pointer

Since commit 20c78f38, we use the relative pointer for enter/leave
events.

However, sprite_check_lost_focus() which verifies whether the pointer has
left an Xwayland surface still explicitly check for the absolute
pointer.

As a result, no LeaveNotify event is emitted anymore now when the
pointer crosses from an Xwayland surface to a Wayland native one.

Make sure to check the last slave device against get_pointer_event() as
well, not just the absolute pointer.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Acked-by: Martin Peres <martin.peres@mupuf.org>
Acked-by: Roman Gilg <subdiff@gmail.com>
Tested-by: Roman Gilg <subdiff@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Fixes: 20c78f38 - xwayland: use get_pointer_device() for enter/leave
                  handling too
4 jobs for fix-check-lost-focus-for-relative-pointer in 4 minutes and 55 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Image
passed #7765235
debian-buster

00:00:13

 
  Build And Test
passed #7765236
autotools

00:04:42

passed #7765237
meson

00:01:56

passed #7765238
meson-noglamor

00:01:44