James Kirkwood’s comedy of sexual ambiguity was ahead of its time