Pandas get_dummies validate `columns` input
- [x] closes #28383
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

The Test code is inspired from a similar tests in
`RaiseError`: https://github.com/pandas-dev/pandas/blob/master/pandas/tests/arrays/categorical/test_operators.py#L97
Valid `list_like`: https://github.com/pandas-dev/pandas/blob/master/pandas/tests/reshape/test_pivot.py#L706

This is my first pull request here and so I have taken all the necessary precautions, also I read the contributing guidelines. Not much sure of  `black pandas` . 

**Problem:**
If `columns` is not passed a list-like value a substantial decrease in performance was observed.

**Proposed Solution:**
As mentioned in the issue by @WillAyd that function should raise and hence based on [similar situation](https://github.com/pandas-dev/pandas/blob/2c9c4223442cd555a1fbc894eb5e89792c09ea63/pandas/core/arrays/categorical.py#L2484) in the codebase, I have edited the file to raise `TypeError`.

