[SPARK-38239][PYTHON][MLLIB] Fix pyspark.mllib.LogisticRegressionModel.__repr__
[SPARK-38239][PYTHON][MLLIB] Fix pyspark.mllib.LogisticRegressionModel.__repr__

### What changes were proposed in this pull request?

Adds native implementation of `__repr__` to `pyspark.mllib.classification.LogisticRegressionModel`.  [Documentation example](https://spark.apache.org/docs/latest/mllib-linear-methods.html#logistic-regression) returns the following after this patch:

```python
>>> model
pyspark.mllib.LogisticRegressionModel: intercept = 0.0, numFeatures = 16, numClasses = 2, threshold = 0.5

```

### Why are the changes needed?

Current implementation is copied from `pyspark.ml.classification` counterpart and fails with `AttributeError`.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Manual testing.

Closes #35554 from zero323/SPARK-38239.

Authored-by: zero323 <0f81822ec43dc7f424811d0a422871ea124aa3dd@gmail.com>
Signed-off-by: Sean Owen <d519fa33a62684a61ab04b24d26f83452d51b34c@gmail.com>

zzcclp/spark,apache/spark,cloud-fan/spark,WeichenXu123/spark,witgo/spark,vinodkc/spark,wangyum/spark,cloud-fan/spark,rednaxelafx/apache-spark,srowen/spark,zero323/spark,cloud-fan/spark,apache/spark,cloud-fan/spark,rednaxelafx/apache-spark,srowen/spark,gengliangwang/spark,ueshin/apache-spark,shaneknapp/spark,zzcclp/spark,witgo/spark,ueshin/apache-spark,ueshin/apache-spark,cloud-fan/spark,JoshRosen/spark,gengliangwang/spark,holdenk/spark,hvanhovell/spark,HyukjinKwon/spark,holdenk/spark,witgo/spark,gengliangwang/spark,mahak/spark,zero323/spark,vinodkc/spark,apache/spark,gengliangwang/spark,vinodkc/spark,zzcclp/spark,HyukjinKwon/spark,vinodkc/spark,nchammas/spark,zzcclp/spark,dongjoon-hyun/spark,vinodkc/spark,nchammas/spark,witgo/spark,wangyum/spark,JoshRosen/spark,vinodkc/spark,dongjoon-hyun/spark,zzcclp/spark,mahak/spark,holdenk/spark,dongjoon-hyun/spark,HyukjinKwon/spark,srowen/spark,gengliangwang/spark,wangyum/spark,srowen/spark,apache/spark,holdenk/spark,nchammas/spark,srowen/spark,JoshRosen/spark,dongjoon-hyun/spark,wangyum/spark,rednaxelafx/apache-spark,holdenk/spark,zero323/spark,mahak/spark,mahak/spark,rednaxelafx/apache-spark,mahak/spark,JoshRosen/spark,holdenk/spark,zzcclp/spark,cloud-fan/spark,ueshin/apache-spark,dongjoon-hyun/spark,hvanhovell/spark,zero323/spark,WeichenXu123/spark,shaneknapp/spark,HyukjinKwon/spark,WeichenXu123/spark,hvanhovell/spark,witgo/spark,WeichenXu123/spark,shaneknapp/spark,srowen/spark,JoshRosen/spark,cloud-fan/spark,HyukjinKwon/spark,ueshin/apache-spark,HyukjinKwon/spark,ueshin/apache-spark,zero323/spark,zzcclp/spark,nchammas/spark,nchammas/spark,apache/spark,WeichenXu123/spark,mahak/spark,hvanhovell/spark,nchammas/spark,mahak/spark,apache/spark,hvanhovell/spark,nchammas/spark,zero323/spark,JoshRosen/spark,dongjoon-hyun/spark,witgo/spark,hvanhovell/spark,gengliangwang/spark,rednaxelafx/apache-spark,apache/spark,shaneknapp/spark,dongjoon-hyun/spark,wangyum/spark,JoshRosen/spark,hvanhovell/spark,wangyum/spark,ueshin/apache-spark,shaneknapp/spark,shaneknapp/spark,gengliangwang/spark,holdenk/spark,rednaxelafx/apache-spark,rednaxelafx/apache-spark,witgo/spark,WeichenXu123/spark,srowen/spark,shaneknapp/spark,vinodkc/spark,wangyum/spark,zero323/spark,HyukjinKwon/spark,WeichenXu123/spark