WASHINGTON, D. C. — U.S. President Barack Obama, who took office six years ago amid a historic recession and two U.S. wars, declared unequivocally Tuesday that the nation had clawed its way out of those dire straits, praising Americans for their resilience but also pointedly taking credit for leading the way.