Théo Court's chronicle of a 19th century photographer's descent into colonial South America disturbs as much as it fascinates