feat(Turborepo): handle invalid states in package watching (#7759)
### Description
- Handle scenarios where we cannot determine package manager or
workspaces globs
- Add special handling for pnpm-workspace.yaml, since all of the other
package managers use package.json
### Testing Instructions
Added two tests, one each for pnpm and npm, to test a basic recovery
from an error state
Closes TURBO-2654
Co-authored-by: Greg Soltis <Greg Soltis>