The exhibition of Sofonisba Anguissola and Lavinia Fontana fits into museums’s interest in revisiting overlooked female artists