Robert Pinsky’s career-spanning Selected Poems highlights his movement from meditative formalist to Whitmanesque bard