gh-38215: Fix typo "sage.ring" in docstrings
The correct module path is "sage.rings" instead of "sage.ring".
In sage/modular/pollack_stevens/padic_lseries.py and in
sage/structure/factory.pyx the typo prevents doctests from being run
because the "needs" requirement canot be fulfilled.
In sage/rings/polynomial/padics/polynomial_padic.py the typo is merely
cosmetic.
See brief [discussion in Sage Support
Group](https://groups.google.com/g/sage-support/c/Msx0QJF7rpA)
### :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.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### :hourglass: Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: https://github.com/sagemath/sage/pull/38215
Reported by: Jens-Erik Riedel
Reviewer(s): David Coudert, Julian RĂ¼th