Question: are beached whales trying to evolve?
Answer: No, beaching in whales is a cause of their death, not an advantageous trait that get passed on. So whales are certainly not evolving to live on land.