Hello! I guess I found the easiest solution. You need to add a simple rule in cart template file. Just find the quantity input and add an additional rule for products which you need using their title, for an example.
Here is my code example. I put the limit for promotion products, all they have a word “Promotion” in their title. So I used this word to make a rule for quantity limit only for these products.
{% if item.product.title contains “Promotion” %}
{% else %}
{% endif %}