A ruling on Olympic swim caps evokes decades of racism in the sport