Latency optimization for Federated Learning over Wireless Power Transfer