Unify resolutions only during graph building (#5479)
With our previous eager union, we were losing the fork markers. We now
carry this information into the resolution graph construction and, in
the next step, can read the markers there.
Part of
https://github.com/astral-sh/uv/issues/5180#issuecomment-2247696198