Mullin hat trick puts Wrexham in promotion spot