Update API doc for wait_all_workers after rename
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30179
Test Plan: Imported from OSS
Differential Revision: D18623092
Pulled By: mrshenli
fbshipit-source-id: 1bbffc7476f256c156783274f7ef51342820edcd