For Black women mayors, rising national profiles come with political risk