The Andrew W. Mellon Foundation has awarded two grants totaling more than $5.7 million to support the organization’s Poet Laureates as well as a national alliance of organizations promoting poetry.