Raman resonance in iron-based superconductors: The magnetic scenario