[SPARK-3335] [SQL] [PySpark] support broadcast in Python UDF

After this patch, broadcast can be used in Python UDF.
Ah, okay.  Maybe it's obvious how two-argument functions should work so we won't need to expose this in end-user documentation.