Are you letting it dry in a hot or closed-off space? Because that's really the main culprit. The thing is, white fabric (especially polyester and nylon, which Nike uses a lot) oxidizes when it gets hot and humid, so it actually yellows.
Here's the deal: wash it with cold or lukewarm water, not hot. Then let it dry in a ventilated spot and in the shade, away from radiators, hot air, or direct sunlight. If there's sun, you can take advantage of it but just for a few minutes, don't leave it sitting there drying all day. And if you store your sneaker in a closed box or a stuffy closet, yeah, that'll damage it fast. It needs ventilation.
One thing that helps a lot is wearing a white canvas shoe or something similar for heavy daily use, and storing your sneaker in a dry place with newspaper or silica packets inside (those little desiccant packets that come in shoe boxes). Makes a real difference. Three months is pretty quick, so it's probably the combo of humidity plus heat that's causing the damage.