debugger: Fix DebugAdapterDelegate::worktree_root always using the first visible worktree (#32585)

Closes #32577

Release Notes:

- Fixed debugger malfunctioning when using ZED_WORKTREE_ROOT env
variable in multi-worktree workspaces.
04223f304bPiotr Osiewicz committed on 6/11/2025, 11:40:41 PM· committed by GitHubparent1083c0a
4 files changedLine totals unavailable