Refactor `ApplicationResourceLoader` so that `preferFileResolution`
is supported using a new `ResourceFilePathResolver` strategy interface.
This update allows us to locate `ResourceFilePathResolver`
implementations in more suitable packages that are closer to the
code that they support.
See gh-44535