editor: Reapply fix for wrap guide positioning (#33776)

Reapplies the fix from #33514 which was removed in #33554. Wrap guides
are currently drifting again due to this on main.

Slightly changed the approach here so that we now actually only save the
wrap guides in the `EditorLayout` that will actually be painted. Also
ensures that we paint indent guides that were previously hidden behind
the vertical scrollbar once it auto-hides.

I wanted to add tests for this, however, I am rather sure this depends
on the work/fixes in #33590 and thus I'd prefer to add these later so we
can have this fix in the next release.

Release Notes:

- N/A
06ddc74917Finn Evers committed on 7/3/2025, 8:44:17 AM· committed by GitHubparent5c88e9c
1 file changedLine totals unavailable