Isolates legacy visibility classes to legacy breakpoints only

The .show/hide-for-[size] and .show/hide-for-[size]-down classes are
now only generated for small, medium, and large breakpoints, and only
if legacy visibility classes are enabled.