Scientific testing reveals that the artist radically changed his depiction of a Paris couple in a landmark 1788 painting