Fix memory leak in some plasma components
A few plasma components cache QSGTexture. Those components rely on texture references going away with QSGNode users. However, with the current tear down logic, OffscreenQuickView won't destroy any paint nodes.
Call QQuickRenderControl::invalidate() before deleting QQuickWindow to ensure that there are no paint nodes left after OffscreenQuickView.
BUG: 444429 BUG: 444381 BUG: 444077 BUG: 444306