Enhanced THz transmission and imaging of a subwavelength slit via light-induced diffraction