taskschd: Forward IRegisteredTask::get_State to SchRpcGetTaskInfo.