SDL*Window: Improve Alt+F4 hacks

Actually generate an SDL_QUIT event instead of calling onDestroy()
directly.