Quark masses and CKM hierarchies from $S_4^\prime$ modular flavor symmetry