Lattices, Garside structures and weakly modular graphs