A court in Vietnam jailed a music teacher for 11 years on Friday for a series of posts on Facebook that the government said were “anti-state”.