President Barack Obama, declaring support for Brazil’s rising global economic clout, said the country’s transition from dictatorship to democracy can serve as a model for pro-democracy movements around the world, including in North Africa and the Middle East.