Destroy transient children when parent is closed

Transient window closing behavior is defined by the platform, as transient
is just a hint to the window manager. This implements the commonly
expected behavior in QtWayland of closing transient windows when the
parent window is closed.