Luke Foley resigns over harassment claim: Wagga Labor candidate Dan Hayes says leader made ‘appropriate’ decision