using validation like this only forces the quantity when it is initially set, once added to the cart, it does not prevent the quantity being changed.
the method i outlined above will prevent the quantity being changed.
you will need to edit the add to cart button behaviors to make the change.