Learning Global Representation from Queries for Vectorized HD Map Construction