gh-38458: simplify conversion code in cubic Hecke
I could not manage to get rid of `sage_eval` there.
### :memo: Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.
URL: https://github.com/sagemath/sage/pull/38458
Reported by: Frédéric Chapoton
Reviewer(s): Travis Scrimshaw