Thai military detains journalist and his lawyer