Anticorrelation between X-ray luminosity and pulsed fraction in the Small Magellanic Cloud pulsar SXP 1323