As a candidate and now as president, when racial tensions flared or fringe groups rallied around his message, Trump has shown uncharacteristic caution and a reluctance to distance himself from the hate.