Design and simulation of a wire scanner for the CSNS linac