Visitors could be required to pay a tourism tax when staying overnight in Wales.