Residually finite central extensions of lattices