As Nayib Bukele waged an underdog bid for the presidency of El Salvador, savvy use of social media helped propel his rise.