Libya’s eastern-based House of Representatives has elected a new speaker, ending Aguila Saleh’s 12-year tenure amid growing discontent among lawmakers.