Hamas has announced the election of Khalil al-Hayya as the new head of its political bureau.