WASHINGTON — For four years, President Obama counted on fellow Democrats to rally to his side in a series of epic battles with Republicans over the direction of the country. But now, deep in his fifth year in office, Mr. Obama finds himself frustrated by members of his own party weary of his leadership and increasingly willing to defy him.