A former advisor to Welsh Labour politicians was one of three men arrested on suspicion of spying for China.