Patterning All‐Inorganic Halide Perovskite with Adjustable Phase for High‐Resolution Color Filter and Photodetector Arrays