Swiatek won the battle of the world's top two ranked players on the clay courts of the Stuttgart Open