Gender equality will take 300 years to achieve, UN chief warns