A new China minerals law gives Beijing a legal lever over strategic metals, raising the stakes in Africa, where it already dominates mining and refining.