A scheme that uses football to raise educational aspirations is encouraging teenage boys to stay longer at school, research shows.