People should “think carefully” about who they meet and how far they travel over Christmas, the First Minister of Wales has said.