A baby humpback whale rescued in Australia will be put down after failing to find its mother and stranding itself again.