Correlation between phase stiffness and condensation energy across the non-Fermi to Fermi-liquid crossover in the Yukawa-Sachdev-Ye-Kitaev model on a lattice