Polarization of gluon jets in photon-photon scattering