Adaptive optics observations of the T10 ultracool dwarf UGPS J072227.51-054031.2