Charles Wall, the federal immigration agency’s former principal legal adviser, named as successor to official departing to launch congressional run