Do not report same project type multiple times for same worktree (#32785)

Follow-up to: https://github.com/zed-industries/zed/pull/32769

Now that the project type identification telemetry can look for multiple
files in order to identify the project type, we need to make sure we
still only send a single event for a given worktree.

Also, simplifies project detection telemetry code

Release Notes:

- N/A
c72cdfd843Joseph T. Lyons committed on 6/16/2025, 6:09:43 AM· committed by GitHubparent4733f18
2 files changedLine totals unavailable