Wales could introduce a “tourism tax” to overnight visitors, Senedd lawmakers have announced.