The Philippines said the detention of three Filipinos in China for alleged espionage may be in retaliation for Manila’s recent arrests of Chinese nationals accused of spying.