WASHINGTON — President Barack Obama tried to have it both ways Tuesday with an election-year budget that paid faint lip service to reducing federal deficits, then piled on about $1 trillion in tax increases and hundreds of billions in higher spending designed to appeal to economically squeezed voters rather than congressional foes of red ink.