Context-aware Inductive Knowledge Graph Completion with Latent Type Constraints and Subgraph Reasoning