Kyle Lowry exploded in the fourth quarter as the Toronto Raptors fought back from a 30-point deficit to beat the Dallas Mavericks 110-107.