qtquickdialogwrapper: Fix memory leak caused by `QQmlComponent::create`
The created component is not deleted after QtQuickDialogWrapper is destructed, Set its parent to fix the memory leak.
The created component is not deleted after QtQuickDialogWrapper is destructed, Set its parent to fix the memory leak.