Periodic squeezing in a polariton Josephson junction