China has detained an American seismologist who tracks nuclear tests for nearly two years on espionage charges, his family revealed, saying Donald Trump's direct appeal for the scientist's release to his Chinese counterpart Xi Jinping went unanswered