The Supreme Court's conservative majority seemed to be searching on Monday for a narrow way to rule in favor of a former high school football coach who lost his job for praying at the 50-yard line after his team's games. The task was complicated by factual disputes over the conduct of the coach, Joseph A. Kennedy, and the varying rationales offered by the school district in Bremerton, Wash., for disciplining him.