A former Thai MP has been arrested for killing a local government official, the country's second deadly shooting in three days.