The Origin of Diffuse X‐Ray Emission from the Galactic Ridge. I. Energy Output of Particle Sources