ENH: Implement sem for Rolling and Expanding
- [x] closes #26476
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

I added sem to the Rolling and Expanding API as mentioned in the issue linked above.