Nashville has joined five other cities and nearly a dozen nonprofits in a lawsuit seeking to halt the Trump administration’s federal funding freeze.