Closing arguments Monday over South Carolina’s voter-identification law will cap an extraordinary case that has seen charges of racism directed at the law’s author and federal judges’ open frustration over state officials’ changing stances on implementing it.