Heaps of pieces and 2D Lorentzian quantum gravity