Craig Lowndes wins Bathurst for seventh time in final race as full-time driver