A model for generating relativistic electrons in the Earth's inner magnetosphere based on gyroresonant wave‐particle interactions