Wayne Eagling is to leave his role as artistic director of English National Ballet at the end of this summer.