Text this: Adaptive federated learning model with unsupervised autoencoder-based reconstruction for imbalanced medical image classification