Prince William and Princess Kate have wished rugby league legend Kevin Sinfield "the very best of luck".