QDoc: Resolve link targets in content block trees


The content builder produces link inlines with raw target strings
that readers can't navigate. These targets need resolution to URLs
before rendering, but the resolution logic lives inside Generator
and isn't accessible to other consumers.

This change adds a resolver that walks content block trees and
resolves targets to URLs using the documentation database. Link
inlines carry origin metadata that distinguishes auto-links from
explicit links, enabling the correct lookup strategy for each.

Task-number: QTBUG-144554
Change-Id: I315bbab5189c6538992a1493e77d614ba41a5403
Reviewed-by: David Boddie <david.boddie@qt.io>
commitfa782e753a3d5fad4b59a3776ef6fdf50888440d
parenta71080e59efe54d14cbc78cc601bc72a037d2f51
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeWed, 11 Mar 2026 15:00:39 +0100