Torn between domestic life and the studio, the German painter portrayed women in a startling new light.