D3FL: Data Distribution and Detrending for Robust Federated Learning in Non-linear Time-series Data