How the German painter’s convalescence in Davos helped inspire the 1920s Rot-Blau Group of artists