#24117 - Adds methods to hook base class to resolve local paths on disk from publishes

Adds methods to the Hook base class, making it easier to retrieve paths to publishes inside of hooks. 

This is a first step in a plan to future proof how file paths are being resolved from publishes - by not having this logic in each hook we open up for more advanced path resolution methods in the future. Instead of a hard coded implementation (like now), this method could instead call out to a core hook, or even have a more advanced scheme where for example frameworks could register handlers (e.g. hello, I am the perforce framework and I can resolve `perforce://` urls) and this method could act as a broker, dispatching the various path resolution calls to various apps/engines/frameworks who would in turn contain the business logic how to resolve them.