Revealing strong coupling of collective modes between superconductivity and pseudogap in cuprate superconductor by terahertz third harmonic generation