Tests: Cover wp_is_maintenance_mode().
Verify maintenance-file freshness, installation and fatal-error scraping bypasses, and filtered maintenance decisions. Restore request and installation state and remove the test file.
Developed in: https://github.com/WordPress/wordpress-develop/pull/14474
Props shailu25, mukesh27.
See #65819.