Thomas Markle is fit to stand trial on charges of possessing child sexual abuse material, a US court has ruled.