Federated Reinforcement Learning-Based Resource Allocation in D2D-Enabled 6G