Political parties in Wales are being urged to take long-term action to help secure a better future for generations yet to be born.