scene: Fix attempting to scanout empty surfaces
An X11 window might be mapped but temporarily have missing wl_surface or the wl_surface can be temporarily unmapped.
Edited by Vlad Zahorodnii
An X11 window might be mapped but temporarily have missing wl_surface or the wl_surface can be temporarily unmapped.