There has been a sharp and sustained decline in the number of children and young people writing for pleasure, a new report has found.