Two-loop computation of the four-particle amplitude in heterotic string theory