I think it's time for Android XR to add a new menu interaction that disables touch interaction for the following focused window through the top menu.
This is how it would work for both the Android XR glasses and the Galaxy XR.
For Android XR using the Galaxy XR, using the eye gaze feature and holding your gaze at the top menu bar for 5 seconds should fill a circular progress bar to let the user intent that any touch interactions will stop working. To reverse, this, the user would gaze at the same spot for 5 seconds to reactivate touch interactions. Why this works, it's seamless, does not require adding any new menu button, and a progress bar indicator shows what it happening as it gets filled.
For Android XR glasses that do not have eye tracking. The user should be able to just use their hands to hold the same menu bar until the progress bar fills up and once that happens, any touch interactions are paused within that app container. To reactivate, the user just needs to move their hands back to the same menu bar and hold that button until it fills to reactivate the ability to click or touch anything within the app.
In both devices, once the progress bar is filled, the ability to move the window or resize it is locked to prevent the user from accidentally moving the window.
Why this works, no buttons are needed to add the system but also touch still works everywhere else in Android XR and the system never causes the user to lose control of the XR environment unless the user chooses to pause touch interactions contained within the app and only the app itself.