Like Algerian boxer Imane Khaleif, Lin faced an avalanche of criticism and uninformed speculation about her sex during the Paris tournament to deliver the best performances of their boxing careers.