She has every right to speak about her faith in a commencement address. She’s not the state. The constitution prohibits the state sponsored school from silencing students’ religious speech.
She'd have a much stronger case if she'd stopped at crediting Christ with her success and not going on to proselytize.