To fix a Quiet Alakazam, you can always rebreed one with a better nature.
Although, lowered Speed ans raised Sp. Attack isn't all that bad for an in game team Pokemon.
Alakazam isn't even that slow in general, so its fine.
lf this Alakazam were for competetive battling, you must rebreed it however, sorry.