Can one choose a wali other than the father for example a brother or an uncle if the father has psychological problems is mentally unstable and cannot properly assess situations? And he wants to reject a husband for his daughter without a valid Islamic reason and he is occasionally violent.

Ustadh AbdulAziz al-Haqqan
Imam Ibn Baz, may Allah have mercy on him, said: “What is obligatory is that the marriage be conducted by the closest guardian, then the next closest. This is the strongest opinion among the statements of the scholars. The closest relative should take charge of the marriage, then the next closest: the father, then the grandfather, then the sons, then the full brothers, then the paternal half-brothers, then those after them such as the son of a full brother, the son of a paternal half-brother, the full paternal uncle, and the paternal half-uncle — according to the order of inheritance.