Hungary’s president is set to be removed from office after lawmakers approved constitutional changes aimed at undoing the legacy of illiberal former PM Viktor Orbán.