Modular Diophantine inequalities and rotations of numerical semigroups