Woman lost on a mountain was found thanks to her phone moments before the battery died