Former Hungarian foreign minister resigns parliamentary seat to join BYD