Hmmm. Thinking about this more deeply, one way for Spain to win the Spanish American war is to have a different, more powerful, more coherent Spain.
So what you'd probably want to do is twitch the Spanish even a decade or two back.
Of course, a more powerful, more coherent Spain might deter...