ABC’s “The View” has invited ex-White House press secretary Karoline Leavitt to be a guest on the show, a source close to the network told The Post.