fix(pnpm): support pnpm lockfile v9 (#7994)
### Description
Closes #7993
Only thing that required updating is that as of `9.0.0-rc.0` the
lockfile version was updated to `9.0` instead of `7.0` that was used
from `9.0.0-alpha.0`-`9.0.0-beta.3`. I believe this was the only change
made since I added support for lockfile v7 in #7853.
### Testing Instructions
Added roundtrip test along with unit test for package resolution.
Manual test with repro provided in #7993
```
[0 olszewski@chriss-mbp] /tmp/pnpm-prune-repro $ turbo_dev --skip-infer prune app-a
Generating pruned monorepo for app-a in /private/tmp/pnpm-prune-repro/out
- Added app-a
- Added pkg-a
- Added tooling-config
[0 olszewski@chriss-mbp] /tmp/pnpm-prune-repro $ cd out
[0 olszewski@chriss-mbp] /tmp/pnpm-prune-repro/out $ pnpm i --frozen-lockfile
Scope: all 4 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +2
++
Progress: resolved 2, reused 2, downloaded 0, added 2, done
devDependencies:
+ turbo 1.13.3-canary.1
Done in 245ms
```
Closes TURBO-2826