One is allowed to, and in fact often should, respectfully disagree with parts of a review. However, stay a mile clear from the phrasing "this is wrong". Note that even if the reviewer made an objectively wrong comment, you need to respond with the assumption in mind that this happened due to an honest misunderstanding on his part, and not in bad faith.
Hence, a better phrasing may be:
We disagree with Reviewer 2 on this comment. While we show that our framework is able to do A and B, it is by design not able to do C. We understand that this was not clear enough to the reviewer, and have rephrased our motivation to make this point more clear.
Note how this phrasing does not "give in" to the reviewer, but acknowledges that part of the blame about such misunderstanding lies with the authors. Also note that you do some text changes based on this review, which I have found to generally be a good idea. I have the impression just saying "the reviewer misunderstood; we are not changing the manuscript" leaves a bad taste in the mouth of many editors.
The reviewer may in theory still insist that without C, your framework is without value, but that really cannot be helped if your system just does not do C.