Judge considers whether to dismiss a case in the latest battle over religious freedom and LGBT rights