Lin lights up Royal Wellington to win Asia-Pacific Amateur