The one race perfectly suited to any class, due to how customizable they are, a Variant Human Wizard can get their intelligence bonus and a choice of feat with no problems. It's an ideal start to any D&D Wizard build.
An ideal choice for either spontaneous or studious casters, Tieflings get a bonus to both Intelligence and Charisma, plus other handy skills like Darkvision and Hellish Resistance. They also get extra skills along with the same fey ancestry and Darkvision of their fully elven cousins. While their highest ability bonus is a +2 charisma, their second bonus is players' choice (meaning a +1 to intelligence, in this case). Half-elves tend to be more associated as perfect choices for Charisma-based classes like sorcerers and bards, but that doesn't mean they won't make a great wizard too. Gnomes get a fantastic +2 to Intelligence and the advantage on saving throws against magic and Darkvision, making them another stellar choice for wizards. Also related to fey creatures, although the connection manifests itself differently. Elves, being descended from fey creatures, are a naturally magical race, and choosing them is the start of one of the best D&D Wizard builds. A specific subset of the general 'elf' race) they get bonuses to Intelligence and Dexterity, Fey Ancestry, Darkvision, and an extra cantrip that the player can choose.
Intelligence is the most important stat, but skills like Dexterity and Perception are also important. However, players looking for a build wherein all elements specifically lend themselves to being a wizard will want to consider a few options before any others. In general, a character's race should match whatever concept the player is looking to role-play because that's the fun of D&D, after all.