Text this: Perceptions, Attitudes, and Use of AI by Medical Students: Mixed Methods Study