Rabz Maxwane scored a hat-trick as the Lions made it two wins from two in the United Rugby Championship with a 55-21 win over Edinburgh at Ellis Park.