qtwayland: fix the client behavior when showing/hiding a surface

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>