Make visibility utility classes responsive when used as LESS mixins

This changes allows "visibility utility" classes to be responsive to screen size when used as LESS mixins (instead of only when embedded in HTML tags). More details in issue #9209.