Numbers taking languages at A-level and beyond has been falling for decades, although Duolingo says its app is most popular with young people