The parents of Charlie Gard have lost their appeal against a ruling which would allow doctors to withdraw life-support treatment.