Hungarian lawmakers re-elect president