QDoc: Extract URL computation from Generator into HrefResolver
URL computation for documentation links depends on Generator statics
and mutates nodes to cache intermediate results. Renderers outside
the hierarchy can't compute URLs. The mutation also prevents
const-correct usage for parallel rendering.
This extracts the core URL computation into a dedicated class with
an external cache, removing the node mutation constraint. Subsequent
commits in this series eliminate the remaining Generator dependencies
to make the class fully standalone.
Task-number: QTBUG-144552
Change-Id: I53819695ab29fa393a45cc4ae5626c74126caf60
Reviewed-by: Topi Reinio <topi.reinio@qt.io>