QDoc: Introduce extraction boundary between Node tree and IR pipeline
QDoc's IR::Builder takes PageNode pointers directly. This couples
the IR layer to the entire Node class hierarchy through transitive
includes and prevents Builder from migrating to QDocLib, where
components must have zero dependencies on Node, Generator, Config,
or Tree.
Builder now receives pre-extracted value types instead of Node
pointers. This breaks the transitive include chain and makes the
IR layer eligible for QDocLib. Subsequent commits extend this
extraction pattern, each introducing its own boundary type as
needed.
Fixes: QTBUG-144333
Change-Id: I9bbd0377281cb59da7eada03be9a17be3d8c7e6b
Reviewed-by: Topi Reinio <topi.reinio@qt.io>