Accessing a screen texture from a SubViewport

Given the issues I’ve had with setting up a frame accumulation effect, I have provided the details about my problematic setup there:

Any help would be appreciated.