The parents of a seriously ill baby have lost their final bid to overturn a ruling giving hospital staff the power to allow him to die.