Moscow's top court has upheld a ban on gay pride marches in the Russian capital for the next 100 years.