President-elect Donald J. Trump’s denunciation of a bipartisan spending bill all but buried that deal while leaving unclear what form a new agreement could take.