Null energy condition violation during infation and pulsar timing array observations