D.C. Mayor Muriel Bowser won the Democratic primary for her office on Tuesday, securing her path to a third term as the city's chief executive.