core::rt: Fix scheduling logic for enqueued tasks
rt: Rename sched_key to rt_key

It is more general-purpose than holding scheduler pointers