Federated Learning for Non-IID Data via Unified Feature Learning and Optimization Objective Alignment