gh-37187: implement E_polynomial of hypergeometric motive
This is adding a new method tp hypergeometric motives.
### :memo: Checklist
- [x] The title is concise, informative, and self-explanatory.
- [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 accordingly.
URL: https://github.com/sagemath/sage/pull/37187
Reported by: Frédéric Chapoton
Reviewer(s):