An idealistic socialite who fought alongside Fidel and Raúl Castro in the mountains of Cuba, she was the country’s unofficial first lady for decades.