Make MediaStreamTrack Document agnostic
<rdar://problem/99566115>
Pull request: https://github.com/WebKit/WebKit/pull/4027
Committed 254218@main (a966c840dd95): <https://commits.webkit.org/254218@main> Reviewed commits have been landed. Closing PR #4027 and removing active labels.