[ty] Make `Module` a Salsa ingredient
We want to write queries that depend on `Module` for caching. While it
seems it can be done without making `Module` an ingredient, it seems it
is best practice to do so.
[best practice to do so]: https://github.com/astral-sh/ruff/pull/19408#discussion_r2215867301