As a young minister in Boston , he befriended a young parishioner named Louis Walcott who later changed his last name to Farrakhan , and he influenced Martin Luther King Jr. when King was a student at Boston University .