Fix "Open a file or project to get started" placeholder text not always shown (#26044)

Check that there are no `visible_worktrees` rather than checking
`worktrees` when deciding whether to display the "Open a file or project
to get started" text

Closes #25395

Release Notes:

- Fixed the "Open a file or project to get started" message not always
showing after all buffers have been closed
161f8a1dd2Felix Packard committed on 3/4/2025, 4:21:16 PM· committed by GitHubparent6cdd7b7
1 file changedLine totals unavailable