The lawsuit marks the latest effort by Harris County Democrats to block the Trump administration’s agenda.