A reassessment of the cigar-smoking, cross-dressing, best-selling novelist – and Chopin’s lover – who scandalised French society and has, argues Sampson, been underestimated ever since.