Projective hulls and the projective Gelfand transform