The word that would give the sentence a negative tone if it replaced "quiet" is "sullen."
So the sentence would read: "Mary is such a sullen child." This suggests a negative emotional state compared to the more neutral or positive connotation of "quiet."