Entropy, energy, and proximity to criticality in global earthquake populations