Artist painted pet as present for Marguerite Lathuille, whose family has owned picture for last 140 years