Photoevaporation and Close Encounters: How the Environment around Cygnus OB2 Affects the Evolution of Protoplanetary Disks