Nikki Haley has won the Washington, D.C., Republican primary, earning all 19 available delegates in her first nominating contest win.