China swimmer Chen Xinyi has tested positive for a banned substance after finishing fourth in the women’s 100m butterfly on Sunday.