perf(gateway): avoid repeated session row comparison and freezing (#201591)

Reuse the lineage owner decision and freeze new row fields in the existing identity-sharing pass. Preserve fresh-snapshot comparisons, immutable publications, archive transitions, and dependent invalidations. Synthetic 700-row fresh-snapshot publication cycles reduce CPU by 8–9% and allocation by 3–4%; production code shrinks by one line.