fix bug when combining groupby with resample and interpolate with dat…
…etime-index (GH 35325)

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