NASA and the organizers of the X Prize competition for private spaceflight on Friday signed off on a $2.5 million contest to promote rocket technologies that could be adapted for landing craft on the moon or suborbital jaunts on Earth.