Orlando left it late, Franz Wagner hitting a three-pointer with 2.5 seconds remaining, as the Magic rallied for a 119-118 win on the road over the LA Lakers.