Racemization of ketones in presence of catalytic acid
You are right that the racemization occurs through the enol form. 

The chiral center is on the carbon attached to the chlorine atom. In B, that carbon participates in the enol form, but in A not. Therefore, in A the enol is formed but there is no racemization.