qt: Create splash screen only when requested, delete after use

Splash screen was always created (but hidden), even when -nosplash or -min was provided on the command line. Fix this.

Also make the splash screen delete itself after use. No need to keep it in memory after initialization.

Reduces memory usage a bit and may improve Ubuntu window detection issues.