Ebbing support within a president’s own party can possibly complicate legislative agendas and endanger down-ballot candidates.