WASHINGTON — Harrison Barnes scored 31 points as the Dallas Mavericks, owners of the NBA’s worst record, upset the Washington Wizards 113-99 on Tuesday night.