wayland: Fix window close (#10702)

Partially fixes https://github.com/zed-industries/zed/issues/10483 (X11
still has this issue)

Also adds some missing destroy() calls for some objects.
Thanks @phisch!

Release Notes:

- N/A
d4922eb10bapricotbucket28 committed on 4/18/2024, 11:02:05 PM· committed by GitHubparent95827d4
2 files changedLine totals unavailable