Prince William has visited severely ill Gazan children being treated by the NHS after they were evacuated to the UK.