Not a lie, but still may well be a sin. Seems like it would be a sin to me, but it would have to be discussed with your confessor.
The sin would not be in your silence, it would be in doing what your wife asked you not to do, which seems like a reasonable request, but we don’t know all the details here, so it is difficult to say.