Rapid evaluation of oscillating lattice sums