Embedding cosmological inflation, axion dark matter and seesaw mechanism in a 3-3-1 gauge model