Relatives of a 20-year-old roofer who suffered a brain injury after becoming involved in a fight in a pub garden have failed to persuade a High Court judge that life-support treatment should continue.