A cortical-inspired model for orientation-dependent contrast perception: a link with Wilson-Cowan equations