Constraints on the superconducting state of Sr2RuO4 from elastocaloric measurements