Chinese hackers have targeted mobile phones used by Republican presidential nominee Donald Trump and his running mate JD Vance, sources have said.