Central extensions of mapping class groups from characteristic classes