Add HookConvertRector pass; split rector run into two passes for hook-resident deprecations
### Problem/Motivation
Add a dedicated Hook Rector rule and split the analyzer's rector execution into two passes: the first runs deprecation sets to fix inline calls, and the second runs HookConvertRector alone to convert legacy hook procedural bodies into class-based hooks. This ensures deprecations inside hook bodies are fixed before being moved into the generated Hook class.
### Work items
- Commit(s): [804ecd9aaf](https://git.drupalcode.org/project/project_analysis/-/commit/804ecd9aaf2e), [7374cf786f](https://git.drupalcode.org/project/project_analysis/-/commit/7374cf786fa3)
### Credit
- Implemented by: @bbrala
- Test-project feedback: @goba, @nicxvan, @wimleers, @rfay, @larowlan
---
*Filed retroactively as part of the Drupal 12 rector coverage effort. Closed as fixed; credit to be applied to the contributors listed above.*
*AI was used extensively to build this work and to file this issue. See [Dries Buytaert: AI-generated Rector rules for Drupal](https://dri.es/ai-generated-rector-rules-for-drupal) and [Björn Brala: Drupal Rector rules are config, not code. Mostly.](https://www.linkedin.com/pulse/drupal-rector-rules-config-code-mostly-bj%C3%B6rn-brala-vfpwe/).*
issue