Ed Sheeran has written to the UK's prime minister to push for immediate, long-term funding for music education.