After all, many big cities face a triple threat: Mr. Trump wants to cut funding to sanctuary cities; his nominee to run the Department of Housing and Urban Development, Ben Carson, is unlikely to be a strong and creative leader; and the Republican Congress is eager to chip away at federal housing programs.