Move RPC API to torch.distributed.rpc
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/27290
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D17808212
Pulled By: pietern
fbshipit-source-id: c79907940fe4888b2ceaaa1cda0078e39c89b454