TST/API: Forbid str-accessor for 1-level MultiIndex
- [x] closes #23679
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Another PR that had been blocked by #23167.