TST: avoid DST transitions when testing DateTimeIndex roundtrip
- [x] closes #24689
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
