Text this: A semi-synchronous federated learning framework with chaos-based encryption for enhanced security in medical image sharing