Axion Inflation with an SU(2) gauge field and the Origin of Baryon Asymmetry