Refactor: scheduler: functionize finding resources matching ID
Previously, find_rsc_list() was a recursive function where the original caller
passed NULL as the first two arguments, and then recursive calls would use
those.
Separate the functionality for the original call into its own function
pcmk__rscs_matching_id(), to simplify the caller and make it more obvious what
functionality is actually recursive.