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>