He twice came from a set down to force a decider against the German sixth seed, before he was beaten in a 10-point match tie break.
World number three Daniil Medvedev is through, but two-time champion Victoria Azarenka lost to Ukrainian qualifier Dayana Yastremska.