The zoning amendment will “help take down barriers to the creation of new affordable housing across the city,” Boston Mayor Michelle Wu said Wednesday.