core: Avoid placing hidden windows too early on Wayland
This check only waited for windows without a buffer for wayland clients. This should happen for all windows on a Wayland backend here, unlike the other places calling client_window_should_be_mapped() that expect to get ahead of the window state.
Closes: #2786 (closed)