A police sharpshooter accidentally wounded two people as French President Francois Hollande was giving a speech in the south-west of France on Tuesday.