Direct air capture of CO2 with an amine resin