xwayland: Remove undeeded test

xwl_seat_maybe_lock_on_hidden_cursor() checks that the value of
cursor_confinement_window is not NULL, yet there is no code path
that could lead to this.

Remove the test for cursor_confinement_window being set, it's useless.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
4 jobs for locking-fixes in 5 minutes and 7 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Image
passed #2648344
debian-testing

00:00:18

 
  Build And Test
passed #2648345
autotools

00:04:48

passed #2648346
meson

00:01:40

passed #2648347
meson-noglamor

00:01:29