Beyond the Goldilocks Zone: Cosmic Rays Could Power Life on Distant Worlds