named after the P-38 Lightning, the most effective long range attack fighter of WW2. ( by the way the F22 was originally going to be called the Lightning 2, but it was changed to raptor during the Jurassic Park craze.)
The F-22 was called a Raptor because most Birds of Prey are Raptors.Birds such as the Falcon,Osprey,eagle,Etc.etc.
Those are all Raptors.The decision had nothing to do with Jurassic Park.