Cuba’s leftist allies and Washington’s top diplomat in Havana joined a sprawling throng of Cubans at a rally on Tuesday to commemorate Fidel Castro, the man who built a Communist state on the doorstep of the United States.