Dynamic Entity-Masked Graph Diffusion Model for histopathological image Representation Learning