3D Occupancy Prediction with Low-Resolution Queries via Prototype-aware View Transformation