BUG: Preserve name in DatetimeIndex.snap
Use self.name to construct the result of `DatetimeIndex.snap`, fix #25575.

- [x] closes #25575
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
