AVIGNON, France — A court in France on Thursday sentenced the ex-husband of Gisèle Pelicot to a maximum 20 years of imprisonment for drugging and raping her and allowing other men to rape her while she was knocked out, in abuse that lasted nearly a decade. The sentence against Dominique Pelicot was declared after he was found guilty of all charges against him.