On the distribution of the maximum of cubic exponential sums