TRACE: Intra-visit Clinical Event Nowcasting via Effective Patient Trajectory Encoding