isDOMCapturingSelection
functionTrue if the DOM node sits inside a subtree marked with `{captureSelection: true}` via setDOMUnmanaged. Walks ancestors so any descendant of a marked subtree (e.g. an `<input>` inside a marked `<div>`) reports as captured too. The walk aborts at the first DOM node that corresponds to a Lexical node in `editor` — that boundary is the implicit owner of the subtree's selection, so a captureSelection marker above it (in non-Lexical scaffolding around the editor) does not leak in. DecoratorNode DOM is marked with `setDOMUnmanaged({captureSelection: true})` by the reconciler, so decorator subtrees also report as captured here.