China says South Korean citizen detained for alleged spying