A phononic switch based on ferroelectric domain walls