Determination of quark-antiquark component of the photon wave function for u, d, s quarks