France's Pierre Latour is the new leader of the Tour de Suisse with Britain's Geraint Thomas third after Colombia's Darwin Atapuma won Wednesday's fifth stage.