Private Federated Frequency Estimation: Adapting to the Hardness of the Instance