Wagga NSW election: Joe McGirr declares victory