Add all remaining method declarations from torch.distributed Python API to C++ (#45768)
Summary:
Also ran formatter on previous sections
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45768
Reviewed By: wanchaol
Differential Revision: D24129467
Pulled By: gmagogsfm
fbshipit-source-id: aa8a5c45c3609d5b96e5f585b699d9e3e71394c8