CAIRO — Egypt sentences leading activist from 2011 uprising to life in prison over violence charges.