python: Uplift basedpyright support into core (#35250)

This PR adds a built-in adapter for the basedpyright language server.

For now, it's behind the `basedpyright` feature flag, and needs to be
requested explicitly like this for staff:

```
  "languages": {
    "Python": {
      "language_servers": ["basedpyright", "!pylsp", "!pyright"]
    }
  }
```

(After uninstalling the basedpyright extension.)

Release Notes:

- N/A
cfd5b8ff10Cole Miller committed on 7/29/2025, 3:19:31 AM· committed by GitHubparente526921
4 files changedLine totals unavailable