Fix type annotation for DistributedDataParallel (#42231)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42231
Reviewed By: albanD
Differential Revision: D22816589
Pulled By: mrshenli
fbshipit-source-id: a355f7e2fa895617bf81ef681b051f074d39ab8c