Refactor: scheduler: best practices for find_compatible_child_by_node()
Rename find_compatible_child_by_node() to find_compatible_instance_on_node(),
add doxygen block, use bool instead of gboolean, and improve log messages,
comments, variable names, and formatting.