Migrate ExtraWindowEventListenerTest from the deprecated
createCatalystContextForTest helper to createTestReactApplicationContext,
so the test builds a bridgeless context directly. Stub the feature flags
before context creation, since the bridgeless context reads them during init.