Mayor Kenney is betting big on a courtroom victory this winter. As a judge weighs whether to uphold Philadelphia’s sweetened-beverage tax, the city has already spent nearly $12 million on a prekindergarten program that the levy is designed to support. Hundreds of families have signed up to send kids to classrooms in January, coinciding with the tax’s debut.