Austin Reaves scored a season-high 41 points as the Lakers survived a furious rally by the Pistons to win.