CLN: Move period.pyx to tslibs/period.pyx
- [x] Closes #18543,
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Is a whatsnew entry needed here?