Prostitution was a central part of daily life in late 19th Century Paris. It is key to understanding the art of the times – and everything that followed, writes Jason Farago.