Joint Compression and Deadline Optimization for Wireless Federated Learning