The Welsh government has launched a consultation to promote sustainable growth in its towns and cities over the next 20 years.