There were faint signs that lawmakers on both sides were looking for ways to resolve their vitriolic stalemate. But Thursday was mostly a day for both parties, in conflicting ways, to show sympathy for unpaid federal workers while yielding no ground in their fight over Trump’s demand to build a border wall with Mexico.