Refactor: controller: combine lrm_state_find* functions
Instead of two functions lrm_state_find() and lrm_state_find_or_create(),
merge them into a single function controld_get_executor_state() that takes a
bool argument for whether to create if not already existing.
Also, allow passing a NULL node name to mean the local node.