WASHINGTON — President Obama’s political advisers, looking for ways to help Democrats and alter the course of the midterm elections in the final weeks, are considering a range of ideas, including national advertisements, to cast the Republican Party as all but taken over by Tea Party extremists, people involved in the discussion said.