Handle Win32 window close message