Lithium Metal Battery Quality Control via Transformer-CNN Segmentation