[MediaFoundation] Fix MediaManager.Shutdown to use isStartup internal state