BUG: fix to_timestamp out_of_bounds
- [x] closes #19643
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

added whatsnew, found this also fixes the analogous bug in PeriodIndex, need to add test for that updated with additional test @jorisvandenbossche gentle ping Thanks!