Pratt, a reality television personality, was not able to pull off his latest venture — an improbable bid to become mayor of Los Angeles.