Question: How do they calculate a static embedding for each word?
Answer: They use the first principal component of a word's contextualized representation in a given layer as its static embedding.
Alternative answer:  by taking the first principal component (PC) of its contextualized representations in a given layer