Redshift-space distortions from the cross-correlation of photometric populations