Cities across metro Detroit, already grappling with declining revenue from property taxes, also are contending with soaring legal bills related to cases involving property owners challenging tax assessments; others are from residents suing cities for basement flooding.