Performance increase rolling min max
- [x] closes #19521 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

In my testing the performance of 

```python
import pandas as pd
import timeit

df = pd.DataFrame({"a": 0}, index=pd.date_range('2017-01-01', '2019-01-01', freq='1T'))

timeit.timeit(lambda: df.rolling('1d').max(), number=1)
```

Went from 1.8 sec to 0.3 sec on my machine (lenovo laptop).