Revert "fix allgather func collective to use maybe_wrap_tensor (#98866)"
This reverts commit ada7dfff717ab588ed46347093181bb2eccdc854.
Reverted https://github.com/pytorch/pytorch/pull/98866 on behalf of https://github.com/izaitsevfb due to Conflicts with the co-dev diff D44921259, reverting to unblock the diff train