Kyle Lowry returns to score a team-high 27 points and 10 assists as the Raptors defeat the Pistons 105-102.