S-shaped waveguide-induced asymmetry between counter-propagating modes in a racetrack resonator