Fix crashes in phosh protocol related to xdg-shell metadata
The phosh protocol assumes that toplevels will always have a valid app_id and a title, which is untrue in cases of unmapped windows (maybe irrelevant) and some applications (wayland terminal). Having them open while switching apps causes reliable crashes.
Edited by Dorota Czaplejewicz