Controlling surface acoustic waves via magnetically-modulated contact resonances