Fix theme hook test
### Problem/Motivation Adds LegacyHook and Hook attributes to test fixtures to properly demonstrate hook conversion scenarios. ### Work items - Commit(s): [421665d177](https://github.com/palantirnet/drupal-rector/commit/421665d1777d) - Pull request(s): [PR #328](https://github.com/palantirnet/drupal-rector/pull/328) ### Credit - Implemented by: @bbrala --- *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 fix 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