US Vice President Kamala Harris has accused Donald Trump of wanting to take the country "back to a time" before equal rights.