Main opposition parties boycotted the vote, leaving Zakaria Ismail Farah, a 56-year-old political newcomer as incumbent leader’s only challenger.