[JIT] initial support for PEP-585 types (#57363)
Summary:
Relates to https://github.com/pytorch/pytorch/issues/56210. Initial attempt to make support for `list`, `tuple` and `dict` type in PEP-585.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57363
Test Plan:
- newly added `test_pep585_type`
- CI
Reviewed By: ngimel
Differential Revision: D28128230
Pulled By: walterddr
fbshipit-source-id: e5ba487dfd8c42e89f851d22b3aebfa56dd419bf