John Legend has been awarded the prestigious United Nations High Note Global Prize for social justice.