The wave equation on black rings and the linear stability of slowly rotating Kerr spacetimes