Jack James Ryan, who played Jacob Hay in the ITV soap, said he was life was upended by the diagnosis