gh-38546: use Parent in Hecke algebras
switch from the auld class `CommutativeRing` to `Parent` for Hecke
algebras.
This is part of an effort to get rid of old stuff not using the Parent /
Element framework.
### :memo: Checklist
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
URL: https://github.com/sagemath/sage/pull/38546
Reported by: Frédéric Chapoton
Reviewer(s): Kwankyu Lee