History remembers her as Picasso’s muse but Maar was an unflinching artist who infiltrated the surrealists’ boys club – and helped paint Guernica