The evolutionary pathways for local adaptation in mountain hares