The public sector in Wales is leading the way in responsible artificial intelligence (AI) use.