A shark warning has been issued for the Kalbarri coast where an injured whale is attracting the predators.