Mountain rescuers battled through three feet of snow to rescue a trekker who had become stuck in the Peak District.