King Edward II met man thought to be gay lover at Surrey castle