window: Exempt fullscreen windows when guarding minimize()
Switching focus from a fullscreen window fails the minimize check from !2491 (merged), causing the window to fail to display properly. Fix check to warn only if the window is not fullscreen.
Fixes #2438.