The answer is
n2n−9(4n−4)
Denote the vertices of P counter-clockwise by A0,A1,…,An−1. We will count first the number of triangulations of P with two interior triangles positioned as in the following figure. We say that such a triangulation starts at A0.

The numbers m1,m2,n1,n2,n3,n4 in the figure denote the number of sides of P determining the regions N1,N2,N3,N4 and M that consist of exterior triangles (triangles that are not interior). The two interior triangles are
A0An1An1+n2 and An1+n2+m1An1+n2+m1+n3An1+n2+m1+n3+n4,
respectively.
We will show that triangulations starting at A0 are in bijective correspondence to 7-tuples
(m,n1,n2,n3,n4,wM,wN),
where m≥0, n1,n2,n3,n4≥2 are integers,
m+n1+n2+n3+n4=n,(†)
wM is a binary sequence (sequence of 0's and 1's) of length m and wN is a binary sequence of length n−m−8.
Indeed, given a triangulation as in the figure, the numbers m=m1+m2 and n1,n2,n3,n4 satisfy (†) and the associated constraints.
Further, the triangulation of the outside region N1 determines a binary sequence of length n1−2 as follows. Denote the exterior triangle in N1 using the diagonal A0An1 by T1. If n1≥3, T1 has a unique neighboring exterior triangle in N1, denoted T2. If n1≥4, the triangle T2 has another neighbor in N1 denoted T3, etc. Thus we have a sequence of n1−1 exterior triangles in N1. We encode this sequence as follows. If T1 uses the vertex A1 as its third vertex we encode this by 0 and if it uses An1−1 we encode this by 1. In each case there are two possible choices for the third vertex in T2. If the one with smaller index is used we encode this by 0 and if the one with larger index is used we encode this by 1. Eventually, a sequence of n1−2 0's and 1's is constructed describing the choice of the third vertex in the triangles T1,…,Tn1−2. Finally, there is only one choice for the third vertex in the triangle Tn1−1 (this triangle is uniquely determined by the previous one), so we get 2n1−2 possible triangulations of N1 encoded in a binary sequence of length n1−2. Similarly, there are 2n1−2 triangulations of the region Ni, i=1,2,3,4, encoded by binary sequences of length ni−2. Thus a binary sequence wN of length n1−2+n2−2+n3−2+n4−2=n−m−8, uniquely determines the triangulations of the regions N1,N2,N3,N4 (once the regions are precisely determined within P, which is done once m1,m2,n1,n2,n3 and n4 are known).
It remains to uniquely encode the triangulation of the middle region M. Denote by M1 the unique exterior triangle in M using the diagonal A0An1+n2. If m≥2, M1 has a unique neighboring exterior triangle M2 in M. If m≥3, the triangle M2 has another neighbor in M denoted M3, etc. Thus we have a sequence of m exterior triangles in M. We encode this sequence as follows. If M1 uses the vertex An1+n2+1 as its third vertex we encode this by 0 and if it uses An−1 we encode this by 1. In each case there are two possible choices for the third vertex in M2. If the one with smaller index is used we encode this by 0 and if the one with larger index is used we encode this by 1. Eventually, a sequence of m 0's and 1's is constructed describing the choice of the third vertex in the triangles M1,…,Mm. Thus a binary sequence wM of length m uniquely determines the triangulation of the region M. In addition such a sequence wM uniquely determines m1 and m2 as the number of 0's and 1's respectively in wM and therefore also the exact position of the middle region M within P (once n1 and n2 are known), which in turn then exactly determines the position of all the regions considered in the figure.
The number of solutions of the equation (†) subject to the given constraints is equal to the number of positive integer solutions to the equation
x1+x2+x3+x4+x5=n−3,
which is (4n−4) (a sequence of n−3 objects is split into 5 nonempty groups by placing 4 separators in the n−4 available positions between the objects). Thus the number of 7-tuples (m,n1,n2,n3,n4,wM,wN) describing triangulations as in the figure is
2m⋅2n−m−8(4n−4)=2n−8(4n−4).
Finally, in order to get the total number of triangulations we multiply the above number by n (since we could start building the triangulation at any vertex rather than at A0) and divide by 2 (since every triangulation is now counted twice, once as starting at one of the interior triangles and once as starting at the other).
Thus, the answer is
n2n−9(4n−4)