Shanghai’s 9 000-strong coffee scene is rewriting China’s caffeine story with creativity, precision and flair.