Liberal environmentalists and conservative landowners, led by the former congressman Steve King, are pressuring Republican candidates to oppose three Midwestern pipelines.