core: add leader safety check to runner to ensure we take no scaling actions when not running on the known leader.
core: add leader safety check to runner to ensure we take no scaling actions when not running on the known leader.

elsevier-core-engineering/replicator,elsevier-core-engineering/replicator