refactor(es/resolver): Convert resolver to VisitMutHook pattern
This adds a hook-based resolver API (`ResolverHook` implementing
`VisitMutHook<ResolverContext>`) alongside the existing `resolver()`
function.
Key changes:
- Add `ResolverHook` struct implementing `VisitMutHook<ResolverContext>`
- Add `ResolverContext` for stack-based scope management
- Add `OwnedScope` struct (without lifetimes) for the scope stack
- Add `HookHoister` for hoisting in hook pattern
- Export `hook`, `default_context`, `ResolverHook`, `ResolverContext`
The hook-based resolver enables composing the resolver with other hooks
using `CompositeHook` for more efficient single-pass transformations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>