A Moscow court has ordered the closure of a foundation that funds the activities of Russian opposition leader Alexey Navalny, in the latest setback for the prominent Kremlin critic.