Fix memory leaks
- inputmethod: Give text input managers a parent
- workspace: Remember to unref outputs as we remove them
- wayland: don't leak OutputDeviceV2Interface and OutputInterface
Tested with the wayland backend and drm using -DECM_ENABLE_SANITIZERS='address;undefined'