Luka Doncic played a starring role as the Dallas Mavericks rallied past the New Orleans Pelicans in the NBA.