The man who inspired the film Hotel Rwanda was convicted of terrorism offences Monday and sentenced to 25 years in prison in a trial that human rights watchdogs and other critics of Rwanda’s repressive government have described as an act of retaliation.