A 14-year-old terminal cancer patient didn’t want to die. So she went to court to fight to preserve her body