The Nationals are set to be the official opposition in Western Australia after the Liberals wipe-out in the state election.