SUBMILLIMETER ARRAY OBSERVATIONS OF THE MOLECULAR OUTFLOW IN HIGH-MASS STAR-FORMING REGION G240.31+0.07