Zach Lavine posted 39 points to guide the Chicago Bulls past the Raptors in their opening NBA play-in game.