Maybe Data can use contraction it just that he finds it difficult to use it. Sort of default programming is to use formal language and he has to compensate when using it. He was then amazed how easy/natural it was for Lal to use contraction rather than the fact that she use it,
Even that interpretation has to retcon establish dialogue unfortunately.
I did make a video edit regarding the Prime Directive violation that I found particularly annoying