MOSCOW — The Russian parliament voted Tuesday to ratify the country’s accession to the World Trade Organization, capping 18 years of negotiations and wavering resolve. President Vladimir Putin had supported the move, albeit at times unenthusiastically.