Photoevaporative Dispersal of Protoplanetary Disks around Evolving Intermediate-mass Stars