Update: I thought both of the channels on the oscilloscope I was using were good, but one was bad. Both SCL and SDA on I2C1 are pulled up and working. I tried out I2C0 as well. SCL is high on I2C0, but SDA stays at ~0.8V on I2C0 when P3V3 is set to 3V. I still cannot communicate with the on board accelerometer, but I have an MMA8451 accelerometer on a breakout board from Adafruit. I have connected its SDA and SCL to I2C1 and given it the 3V from P3V3. I can communicate with the accelerometer on the breakout board, but I cannot communicate with the on board accelerometer. I queried the "who am I" register and got back the value 0x1A. This is the MMA8451's who am I value. The FXOS8700CQ's who am I value is 0xC7 so I know I'm not talking to the accelerometer on the board. The accelerometer on the board is actually the FXOS8700CQ, which is a magnetometer combined with an accelerometer. (They both have the same who am I register address.)
Just figured this out by writing this: I was looking at the wrong documentation. The MMA8451 can only have address 0x1c or 0x1d. The FXOS8700CQ can have address 0x1c, 0x1d, 0x1e, or 0x1f. I just talked to the FXOS8700CQ on the board and asked for its who am I value, and it responded with 0xC7. It is working now.