The ambush of Dallas police has the potential to upend the presidential campaign, forcing Hillary Clinton and Donald Trump to navigate race, violence and law enforcement in ways that are even more complex than the fraught situation before the attack on Thursday that left five police officers dead and six others recovering from bullet wounds. In…