qt: fix ML event register leak when compositor fails to be created
In the case where compositor fails to start the MediaLib object is created then destroyed using a deleteLater, but the destructor was never called as the main loop was never started.