MPS: Add adaptive max pool2d op (#78410)
Adaptive max pool 2d forward and backward with test
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78410
Approved by: https://github.com/albanD
(cherry picked from commit 2e32d5fcd8de75dc2695d940925e5be181a06b54)