OLALa: Online Learned Adaptive Lattice Codes for Heterogeneous Federated Learning