On the reality television show “The Hills,” Spencer Pratt played something of a villain, blamed for spreading a salacious rumor and driving a wedge between his girlfriend and her best friend.