Measuring cosmic expansion and growth with the Lyman-alpha forest in DESI