She mixed with the Bloomsbury Group, and set up home with two men but her most sensual paintings were of women. Now a major exhibition is giving her work the attention it deserves