Almost a quarter of people in Wales trapped in poverty amid rising living costs and cuts to benefits