Shadow Minister for Indigenous Affairs Julian Leeser has resigned from Cabinet, so that he can campaign in favour of the Indigenous Voice to Parliament.