Energy-Aware Federated Learning with Distributed User Sampling and Multichannel ALOHA