BUG: Keep column level names during resample nunique (#23222)
- [X] closes #23222
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry

nunique is the only one I found in a quick search which manifested the problem.