Kamala Harris and Donald Trump showcased their different visions for the country as they met for the first time in perhaps their only debate before November’s presidential election.