Ensure that other G4Extensions work correctly when quasi-stable particle simulation is enabled

Backporting fixes from 22.0

Update PDGHelpers.getPDGTABLE module to use functional.lru_cache

Caching the result of PDGHelpers.getPDGTABLE should ensure that a "clean" PDGTABLE.MeV file is only retrieved once per job. This approach should also be compatible with ComponentAccumulator-based configuration.

Should be merged after !57509 (merged).

Merge request reports