Trace-space reconstruction of low-emittance electron beams through betatron radiation in laser-plasma accelerators