The vote will decide how assisted dying could be accessed in Wales if it is legalised by the UK government.